package com.lkedu.service;

import java.util.List;

import com.lkedu.dao.AdminDao;
import com.lkedu.entity.UserBean;

public class AdminService {
	AdminDao adminDao= new AdminDao();

	//获得所有用户
	public List<UserBean> getUsers() {
		return adminDao.getUsers();
	}

	public int disState(String uid) {
		return adminDao.disState(uid);
	}

	public int delUser(String uid) {
		
		return adminDao.delUser(uid);
	}

	public int save(String uid, String username, String phone, String email, String sex) {
		
		return adminDao.save(uid,username,phone,email,sex);
	}

}
